<script type="text/javascript" src="template/scripts/func_datareport.js"></script>
<script type="text/javascript">
if($("#show_name").html()=='管理员')
{
	$("#student_number_4AdminTR").removeClass("hide")
}

function HightChartgenerate_Course(dataName,dataInput)
{
	chart = new Highcharts.Chart({
				chart: {
					renderTo: 'container',
					defaultSeriesType: 'spline',
					margin: [50, 30, 60, 30]
				},
				title: {
					text: '成绩走势',
					style: {
						margin: '10px 100px 0 0' // center it
					}
				},
				yAxis: {
					title: {
						text: ''
					}
				},
				xAxis: {
					categories: ['1', '2', '3', '4', '5', '6', 
						'7', '8', '9', '10', '11', '12','13','14','15','16','17','18','19','20']
				},
				series: [{
					name: dataName,
					data: dataInput
				}]
			});
}

function HightChartgenerate_Order(dataName,dataInput)
{
	chart = new Highcharts.Chart({
				chart: {
					renderTo: 'container_order',
					defaultSeriesType: 'spline',
					margin: [50, 30, 60, 30]
				},
				title: {
					text: '排名走势',
					style: {
						margin: '10px 100px 0 0' // center it
					}
				},
				yAxis: {
					reversed:true,
					title: {
						text: ''
					}
				},
				xAxis: {
					categories: ['1', '2', '3', '4', '5', '6', 
						'7', '8', '9', '10', '11', '12','13','14','15','16','17','18','19','20']
				},
				series: [{
					name: dataName,
					data: dataInput
				}]
			});
}

</script>

<table>
	<tr id="student_number_4AdminTR" class="hide"><td>学号：</td><td><input id="student_number_4Admin" type="text" style="width:45px"/></td></tr>
	<tr><td>课程：</td><td><select id="courseName">
          <option value="yuwen">语文</option>
          <option value="shuxue">数学</option>
          <option value="yingyu">英语</option>
          <option value="wuli">物理</option>
          <option value="huaxue">化学</option>
		  <option value="lishi">历史</option>
          <option value="dili">地理</option>
		  <option value="shengwu">生物</option>
		  <option value="zhengzhi">政治</option>
		  <option value="qita">其他</option>
        </select></td><td><input type="button" onclick="javascript:BeginAnalysis()" value="开始分析" /></td></tr>
	<tr><td></td><td></td></tr>
</table>
<table>
  <tr>
    <td><a id="show_myrecord" style="cursor:pointer" onclick="javascript:a_show_click(this)">我的成绩走势</a><a id="hide_myrecord" style="cursor:pointer; display:none" onclick="javascript:a_hide_click(this)">隐藏</a></td>
  </tr>
  <tr>
    <td><div id="myrecord" style="display:none">
        <img id="myrecordloading" class="hide" src="template/images/loading.gif" />
        <div id="container" style="width: 400px; height: 200px; margin: 0 auto"></div>
      </div></td>
  </tr>
  <tr>
    <td><a id="show_mysort" style="cursor:pointer" onclick="javascript:a_show_click(this)">我的名次走势</a><a id="hide_mysort" style="cursor:pointer; display:none" onclick="javascript:a_hide_click(this)">隐藏</a></td>
  </tr>
  <tr>
    <td><div id="mysort" style="display:none">
		<img id="loading" class="hide" src="template/images/loading.gif" />
        <div id="container_order" style="width: 400px; height: 200px; margin: 0 auto"></div>
      </div></td>
  </tr>
</table>

<div style="display:none">
<div id="Msg_DataReport" title="数据分析消息：" ></div>
</div>

